﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.DBManagers
{
    public class VesselCodesManager : BaseManager<VesselCode>
    {
        public VesselCodesManager()
            : base()
        {
        }

        public override IEnumerable<VesselCode> GetAll()
        {
            return base.GetAll().Where(w => w.IsActive).OrderBy(o => o.Name).ToList();
        }
    }
}
